package com.haikesi.api.mode.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haikesi.api.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class ModeVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "Id")
    private String id;

    @ApiModelProperty(value = "模式名称")
    private String modeName;

    @ApiModelProperty(value = "激活模式")
    private Integer enableMode;

    @ApiModelProperty(value = "模式说明")
    private String modeReadme;

    @ApiModelProperty(value = "模式执行前提示语")
    private String modeExeBeforeSay;

    @ApiModelProperty(value = "模式执行后提示语")
    private String modeExeAfterSay;

    @ApiModelProperty(value = "模式执行提示播音")
    private String modeExeSaySound;

    @ApiModelProperty(value = "模式执行提示语速")
    private Integer modeExeSaySpeed;

    @ApiModelProperty(value = "模式执行提示音量")
    private Integer modeExeSayVoice;

    @ApiModelProperty(value = "设备所属组织机构ID",hidden = true)
    private String organizationId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    // 平台模式ID
    private String platformModeId;

}